<#setting number_format="#.##"/>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>房源签认表</title>
    <style>
        body {
            font-family: SimSun, Arial Unicode MS, Lucida Sans Unicode, Arial, verdana, arial, helvetica, sans-serif;
        }

        .printContent {
            margin: 0px;
            padding: 0px;
            font-size: 16px;
        }

        .printContent p {
            margin: 0px;
            padding: 0px;
            text-align: left;
            text-indent: 2em;
            line-height: 24px;
            width: 95%;
            margin-left: 20px;
        }

        .printContent .printTitle {
            text-indent: 0em;
            font-size: 24px;
            text-align: center;
            font-weight: bold;
            height: 36px;
        }

        .border {
            text-align: center;
            padding-left: 10px;
            padding-right: 10px;
            border-bottom: 1px solid #000000;
        }

        .borderBlock200 {
            text-align: center;
            width: 200px;
            display: inline-block;
            border-bottom: 1px solid #000000;
        }

        .table_border_top_hidden {
            border-top: hidden;
        }

        .table_border_bottom_hidden {
            border-bottom: hidden;
        }

        table {
            margin: auto;
            width: 95%;
            border-collapse: collapse;
            border-top: 2px solid #000000;
            border-left: 2px solid #000000;
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            -fs-table-paginate: paginate;
            border-spacing: 0;
        }

        th, td {
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            font-size: 16px;
            margin-left: 5px;
            height: 30px;
            page-break-inside: avoid;
            text-align: center;
        }

        .paddingLeft {
            padding-left: 300px;
        }

        @page {
            margin: 5mm 10mm 0mm 10mm;
        }

        .pageBreak {
            page-break-before: always
        }
    </style>
</head>
<body>
<div class="printContent">
    <div class="printTitle">${strUtils.getNotNullText(contract.zsProject.printTableName)}</div>
    <div class="printTitle">回迁选房安置房源签认表</div>
    <p style="text-align: right;">单位：元、平方米</p>
    <table class="table_border_bottom_hidden">
        <tr>
            <td colspan="2" style="width: 25%">被征收人</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.name)}</td>
            <td colspan="2" style="width: 25%">征收协议<br/>编&#160;&#160;号</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.contractCode)}</td>
        </tr>
        <tr>
            <td colspan="2">选房证顺序号</td>
            <td colspan="2">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
            <td colspan="2">证件号</td>
            <td colspan="2" style="word-wrap:break-word;">${strUtils.getNotNull(contract.idCard)}</td>
        </tr>
    </table>
    <!--新照顾购买展示-->
    <#if contract.careBuyAreaNameType ?? && contract.careBuyAreaNameType == 2 >
            <table class="table_border_top_hidden table_border_bottom_hidden">
                <tr>
                    <td colspan="10">一、产权调换面积</td>
                </tr>
                <tr>
                    <td style="width: 12%;font-size: 12px;">产权调换面积</td>
                    <td style="font-size: 12px;">${(careBuyAreaNameList[0])!}</td>
                    <td style="width: 12%;font-size: 12px;">${(careBuyAreaNameList[1])!}</td>
                    <td style="font-size: 12px;">${(careBuyAreaNameList[2])!}</td>
                    <td style="width: 12%;font-size: 12px;">${(careBuyAreaNameList[3])!}</td>
                    <td style="font-size: 12px;">${(careBuyAreaNameList[4])!}</td>
                    <td style="width: 12%;font-size: 12px;">${(careBuyAreaNameList[5])!}</td>
                    <td style="font-size: 12px;">${(careBuyAreaNameList[6])!}</td>
                    <td style="font-size: 12px;">${(careBuyAreaNameList[7])!}</td>
                    <td style="width: 8%;font-size: 12px;">其它</td>
                </tr>
                <tr>
                    <td>${bigUtils.getNotNullStr(contract.propertyChangeArea)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea1)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea2)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea3)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea4)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea5)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea6)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea7)}</td>
                    <td>${bigUtils.getNotNullStr(contract.careBuyArea8)}</td>
                    <td>${bigUtils.getNotNullStr(contract.adjustArea)}</td>
                </tr>
                <tr>
                    <td colspan="3">合计</td>
                    <td colspan="7">${bigUtils.getNotNullStr(contract.limitHouseAreaTotal)}</td>
                </tr>
            </table>
    </#if>
<!--旧照顾购买展示-->
    <#if contract.careBuyAreaNameType ?? && contract.careBuyAreaNameType == 1 >
        <table class="table_border_top_hidden table_border_bottom_hidden">
            <tr>
                <td colspan="9">一、产权调换面积</td>
            </tr>
            <tr>
                <td style="width: 12%;font-size: 12px;">产权调换面积</td>
                <td style="font-size: 12px;">${(careBuyAreaNameList[0])!}</td>
                <td style="width: 12%;font-size: 12px;">${(careBuyAreaNameList[1])!}</td>
                <td style="font-size: 12px;">${(careBuyAreaNameList[2])!}</td>
                <td style="width: 12%;font-size: 12px;">${(careBuyAreaNameList[3])!}</td>
                <td style="font-size: 12px;">${(careBuyAreaNameList[4])!}</td>
                <td style="width: 12%;font-size: 12px;">${(careBuyAreaNameList[5])!}</td>
                <td style="font-size: 12px;">${(careBuyAreaNameList[6])!}</td>
                <td style="width: 8%;font-size: 12px;">其它</td>
            </tr>
            <tr>
                <td>${bigUtils.getNotNullStr(contract.propertyChangeArea)}</td>
                <td>${bigUtils.getNotNullStr(contract.careBuyArea1)}</td>
                <td>${bigUtils.getNotNullStr(contract.careBuyArea2)}</td>
                <td>${bigUtils.getNotNullStr(contract.careBuyArea3)}</td>
                <td>${bigUtils.getNotNullStr(contract.careBuyArea4)}</td>
                <td>${bigUtils.getNotNullStr(contract.careBuyArea5)}</td>
                <td>${bigUtils.getNotNullStr(contract.careBuyArea6)}</td>
                <td>${bigUtils.getNotNullStr(contract.careBuyArea7)}</td>
                <td>${bigUtils.getNotNullStr(contract.adjustArea)}</td>
            </tr>
            <tr>
                <td colspan="3">合计</td>
                <td colspan="6">${bigUtils.getNotNullStr(contract.limitHouseAreaTotal)}</td>
            </tr>
        </table>
    </#if>
    <table class="table_border_top_hidden table_border_bottom_hidden">
        <#if contract.isDisplace != 2>
            <tr>
                <td colspan="5">二、选择安置房面积汇总</td>
            </tr>
            <tr>
                <td style="width: 25%;" colspan="3">房屋类别</td>
                <td style="width: 25%;" colspan="2">面积</td>
            </tr>
                <#if contract.chooseHouseQiFangAreaTotal ?? && contract.chooseHouseQiFangAreaTotal gt 0 >
                    <tr>
                        <td colspan="3">现房</td>
                        <td colspan="2">${bigUtils.getNotNullStr(contract.chooseHouseXianFangAreaTotal)}</td>
                    </tr>
                    <tr>
                        <td colspan="3">期房</td>
                        <td colspan="2">${bigUtils.getNotNullStr(contract.chooseHouseQiFangAreaTotal)}</td>
                    </tr>
                </#if>
            <tr>
                <td colspan="3">住宅</td>
                <td colspan="2">${bigUtils.getNotNullStr(contract.chooseHouseAreaTotal)}</td>
            </tr>
            <tr>
                <td colspan="3">置换店面所需面积</td>
                <td colspan="2">${bigUtils.getNotNullStr(contract.dmResultArea)}</td>
            </tr>
            <tr>
                <td colspan="3">置换车位所需面积</td>
                <td colspan="2">${bigUtils.getNotNullStr(contract.carLotTotalZhArea)}</td>
            </tr>
        </#if>


        <#if contract.isDisplace == 2>
            <tr>
                <td colspan="5">二、选择安置房面积汇总</td>
            </tr>
            <tr>
                <td style="width: 25%;">房屋类别</td>
                <td style="width: 25%;">房源面积</td>
                <td style="width: 50%;" colspan="3">选房使用面积</td>
            </tr>
            <#if contract.chooseHouseQiFangAreaTotal ?? && contract.chooseHouseQiFangAreaTotal gt 0 >
                <tr>
                    <td>1、现房</td>
                    <td>${bigUtils.getNotNullStr(contract.chooseHouseXianFangAreaTotal)}</td>
                    <td colspan="3">${bigUtils.getNotNullStr(contract.chooseHouseXianFangAreaTotal)}</td>
                </tr>
                <tr>
                    <td rowspan="2">2、期房</td>
                    <td rowspan="2">${bigUtils.getNotNullStr(contract.chooseHouseQiFangAreaTotal)}</td>
                    <td style="width: 20%">置换使用面积</td>
                    <td style="width: 15%">申购面积</td>
                    <td style="width: 15%">合计</td>
                </tr>
                <tr>
                    <td>${bigUtils.getNotNullStr(qifangZhihuanAreaAll)}</td>
                    <td>${bigUtils.getNotNullStr(buyAreaAll)}</td>
                    <td>${bigUtils.getNotNullStr(areaAll)}</td>
                </tr>
                <tr>
                    <td colspan="2">置换店面所需面积</td>
                    <td colspan="3">${bigUtils.getNotNullStr(contract.dmResultArea)}</td>
                </tr>
                <tr>
                    <td colspan="2">置换车位所需面积</td>
                    <td colspan="3">${bigUtils.getNotNullStr(contract.carLotTotalZhArea)}</td>
                </tr>
            </#if>
            <tr>
                <td>合计</td>
                <td >${bigUtils.getNotNullStr(contract.chooseHouseAreaTotal)}</td>
                <td colspan="3">
                    ${bigUtils.getSum(contract.chooseHouseAreaTotalForDisplace,contract.dmResultArea,contract.carLotTotalZhArea)}
                </td>
            </tr>
        </#if>


    <#if contract.isJiSuan ?? && contract.isJiSuan ==1>

    <tr>
        <td colspan="5">选房结果与产权调换面积比扩购或减少安置面积情况（“+”为扩购 “-”为减少）</td>
    </tr>
    <tr>
        <td colspan="2">住宅面积(不含储藏间)</td>
        <td colspan="3">
            ${bigUtils.getNotNullStr(contract.zzResultArea)}
        </td>
    </tr>
</#if>
<#if contract.isJiSuan ?? && contract.isJiSuan !=1>
<tr>
    <td colspan="4">剩余安置面积
    </td>
</tr>
<tr>
    <td style="width: 30%">剩余产权调换面积</td>
    <td style="width: 20%">${bigUtils.getNotNullStr(contract.sycqdhArea)}</td>
    <td style="width: 30%">剩余照顾购买面积</td>
    <td style="width: 20%">${bigUtils.getNotNullStr(contract.syzggmArea)}</td>
</tr>
</#if>
</table>
<table class="table_border_top_hidden">
    <tr>
        <td colspan="8">三、安置房状况明细</td>
    </tr>
    <tr>
        <td width="5%">序号</td>
        <td width="11%">房屋类别</td>
        <td width="12%">房屋户型</td>
        <td>所在小区</td>
        <td>户号</td>
        <td width="11%">建筑面积</td>
        <td width="11%">分摊面积</td>
        <td width="13%">房源属性</td>
    </tr>
    <#assign index = 0/>
    <#if houseList??>
    <#list houseList as house>
    <#assign index =index+ 1/>
    <tr>
        <td>${intUtils.getNotNullStr(index)}</td>
        <td>${(houseNatureMap[house.houseNature?c].name)!}</td>
        <td>${(houseHoldMap[house.houseHold].name)!}</td>
        <td>${strUtils.getNotNull(house.azProject.projectName)}</td>
        <td>${house.houseNumStr}</td>
        <td>${bigUtils.getNotNullStr(house.buildArea)}</td>
        <td>${bigUtils.getNotNullStr(house.poolArea)}</td>
        <td>${strUtils.getNotNull(house.houseStyle)}</td>
    </tr>
</#list>
</#if>
</table>
<p>
    被征收人声明：以上所选安置房是本人真实意思表示，本人予以确认。在此，本人郑重承诺：按照以上所确定的安置房在选房当日与征收人签订安置协议书，并按期缴清应补差价款；否则，征收人有权对所选安置房进行处置并取消本人选房号，本人服从征收人在正常选房工作结束后，另行统一组织调配安置。</p>
<p style="text-indent: 0em;font-size: 14px">${adjustAreaMemo}</p>

<#if contract.memo ?? && contract.memo !="">
<p style="text-indent: 0em;font-size: 14px">注:${strUtils.getNotNull(contract.memo)}</p>
</#if>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 20px">被征收人：&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;选房组：</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 40px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
    <#if contract.chooseHouseDate ?? >
    ${contract.chooseHouseDate?string["yyyy年MM月dd日"]}
    <#else/>
    ${.now?string["yyyy年MM月dd日"]}
</#if>
</p>

<#if type !=1 >
<p style="text-indent: 0em;font-size: 20px;padding-top: 30px">${strUtils.getNotNull(bsLzAllMemo)}</p>
</#if>
</div>
<#if storageRoomList?? && (storageRoomList?size > 0) >
<div style="page-break-after: always;"></div>
<div class="printContent">
    <div class="printTitle" style="margin-top: 20px">${strUtils.getNotNullText(contract.zsProject.printTableName)}
    </div>
    <div class="printTitle">回迁选房安置储藏间签认表</div>
    <p style="text-align: right;">单位：元、平方米</p>
    <table class="table_border_bottom_hidden">
        <tr>
            <td colspan="2" style="width: 25%">被征收人</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.name)}</td>
            <td colspan="2" style="width: 25%">征收协议<br/>编&#160;&#160;号</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.contractCode)}</td>
        </tr>
        <tr>
            <td colspan="2">选房证顺序号</td>
            <td colspan="2">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
            <td colspan="2">证件号</td>
            <td colspan="2">${strUtils.getNotNull(contract.idCard)}</td>
        </tr>
    </table>
    <table class="table_border_top_hidden">
        <tr>
            <td colspan="7">一、储藏间状况明细</td>
        </tr>
        <tr>
            <td width="6%">序号</td>
            <td width="20%">所在小区</td>
            <td width="20%">户号</td>
            <td width="15%">建筑面积</td>
            <td>备注</td>
        </tr>
        <#assign index = 0/>
        <#if storageRoomList??>
        <#list storageRoomList as storageRoom>
        <#assign index =index+ 1/>
        <tr>
            <td>${intUtils.getNotNullStr(index)}</td>
            <td>${strUtils.getNotNull(storageRoom.azProject.projectName)}</td>
            <td>${storageRoom.houseNumStr}</td>
            <td>${bigUtils.getNotNullStr(storageRoom.buildArea)}</td>
            <td></td>
        </tr>
    </#list>
</#if>
</table>
<p>
    被征收人声明：以上所选安置房是本人真实意思表示，本人予以确认。在此，本人郑重承诺：按照以上所确定的安置房在选房当日与征收人签订安置协议书，并按期缴清应补差价款；否则，征收人有权对所选安置房进行处置并取消本人选房号，本人服从征收人在正常选房工作结束后，另行统一组织调配安置。</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 20px">被征收人：&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;选房组：</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 40px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
    <#if contract.chooseHouseDate ?? >
    ${contract.chooseHouseDate?string["yyyy年MM月dd日"]}
    <#else/>
    ${.now?string["yyyy年MM月dd日"]}
</#if>
</p>

</div>
</#if>
<#if carLotList?? && (carLotList?size > 0) >
<div style="page-break-after: always;"></div>
<div class="printContent">
    <div class="printTitle" style="margin-top: 20px">${strUtils.getNotNullText(contract.zsProject.printTableName)}
    </div>
    <div class="printTitle">车位签认表</div>
    <p style="text-align: right;">单位：元、平方米</p>
    <table class="table_border_bottom_hidden">
        <tr>
            <td colspan="2" style="width: 25%">被征收人</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.name)}</td>
            <td colspan="2" style="width: 25%">征收协议<br/>编&#160;&#160;号</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.contractCode)}</td>
        </tr>
        <tr>
            <td colspan="2">选房证顺序号</td>
            <td colspan="2">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
            <td colspan="2">证件号</td>
            <td colspan="2">${strUtils.getNotNull(contract.idCard)}</td>
        </tr>
    </table>
    <table class="table_border_top_hidden">
        <tr>
            <td colspan="8">一、车位状况明细</td>
        </tr>
        <tr>
            <td width="6%">序号</td>
            <td width="20%">车位类型</td>
            <td width="20%">所在小区</td>
            <td width="12%">所在层次</td>
            <td width="15%">户号</td>
            <td width="10%">建筑<br/>面积</td>
            <td width="10%">置换<br/>面积</td>
            <td>备注</td>
        </tr>
        <#assign index = 0/>
        <#if carLotList??>
        <#list carLotList as carLot>
        <#assign index =index+ 1/>
        <tr>
            <td>${intUtils.getNotNullStr(index)}</td>
            <td>${(carLotTypeMap[carLot.carLotType?c].name)}</td>
            <td>${strUtils.getNotNull(carLot.azProject.projectName)}</td>
            <td>${carLot.floor}</td>
            <td>${carLot.houseNumStr}</td>
            <td>${bigUtils.getNotNullStr(carLot.buildArea)}</td>
            <td>${bigUtils.getNotNullStr(carLot.hgArea)}</td>
            <td></td>
        </tr>
    </#list>
</#if>
</table>
<p>
    被征收人声明：以上所选车位是本人真实意思表示，本人予以确认。在此，本人郑重承诺：按照以上所确定的车位在选房当日与征收人签订车位买卖(租赁)协议书，并按期缴清应补差价款；否则，征收人有权对所选车位进行处置并取消本人选房号，本人服从征收人在正常选房工作结束后，另行统一组织调配安置。</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 20px">被征收人：&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;选房组：</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 40px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
    <#if contract.chooseHouseDate ?? >
    ${contract.chooseHouseDate?string["yyyy年MM月dd日"]}
    <#else/>
    ${.now?string["yyyy年MM月dd日"]}
</#if>
</p>
</div>
</#if>


<#if shopHouseList?? && (shopHouseList?size > 0) >
<div style="page-break-after: always;"></div>
<div class="printContent">
    <div class="printTitle" style="margin-top: 20px">${strUtils.getNotNullText(contract.zsProject.printTableName)}
    </div>
    <div class="printTitle">店面签认表</div>
    <p style="text-align: right;">单位：元、平方米</p>
    <table class="table_border_bottom_hidden">
        <tr>
            <td colspan="2" style="width: 25%">被征收人</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.name)}</td>
            <td colspan="2" style="width: 25%">征收协议<br/>编&#160;&#160;号</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.contractCode)}</td>
        </tr>
        <tr>
            <td colspan="2">选房证顺序号</td>
            <td colspan="2">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
            <td colspan="2">证件号</td>
            <td colspan="2">${strUtils.getNotNull(contract.idCard)}</td>
        </tr>
    </table>
    <table class="table_border_top_hidden">
        <tr>
            <td colspan="7">一、店面状况明细</td>
        </tr>
        <tr>
            <td width="6%">序号</td>
            <td width="20%">所在小区</td>
            <td width="14%">所在层次</td>
            <td width="20%">户号</td>
            <td width="16%">建筑面积</td>
            <td width="16%">比例</td>
            <td>备注</td>
        </tr>
        <#assign index = 0/>
        <#if shopHouseList??>
        <#list shopHouseList as shopHouse>
        <#assign index =index+ 1/>
        <tr>
            <td>${intUtils.getNotNullStr(index)}</td>
            <td>${strUtils.getNotNull(shopHouse.azProject.projectName)}</td>
            <td>${shopHouse.floor}</td>
            <td>${shopHouse.houseNumStr}</td>
            <td>${bigUtils.getNotNullStr(shopHouse.buildArea)}</td>
            <td>1:${bigUtils.getNotNullStr(shopHouse.zhBl)}</td>
            <td></td>
        </tr>
    </#list>
</#if>
</table>
<p>
    被征收人声明：以上所选店面是本人真实意思表示，本人予以确认。在此，本人郑重承诺：按照以上所确定的车位在选房当日与征收人签订车位买卖(租赁)协议书，并按期缴清应补差价款；否则，征收人有权对所选车位进行处置并取消本人选房号，本人服从征收人在正常选房工作结束后，另行统一组织调配安置。</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 20px">被征收人：&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;选房组：</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 40px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
    <#if contract.chooseHouseDate ?? >
    ${contract.chooseHouseDate?string["yyyy年MM月dd日"]}
    <#else/>
    ${.now?string["yyyy年MM月dd日"]}
</#if>
</p>
</div>
</#if>
</body>
</html>